import User from './user.component.vue';
import Passwords from '../password.vue';
import mineList from '../mine_list.vue';
import mineMsg from '../mine_msg.vue';
import mineSet from '../mine_set.vue';
import aboutUs from '../about_us.vue';
import version from '../version.vue';

export const userRoutes = [{
  path: '/user',
  component: User,
  meta: {
    crumbName: '用户'
  },
  children: [{
    path: '',
    name: '我的列表',
    component: mineList
  },
  {
    path: 'password',
    name: '找回密码',
    component: Passwords
  },
  {
    path: 'msg',
    name: '我的资料',
    component: mineMsg
  },{
    path: 'set',
    name: '我的设置',
    component: mineSet
  },{
    path: 'set/version',
    name: '版本',
    component: version,
  },{
    path: 'set/aboutus',
    name: '关于我们',
    component: aboutUs
  }]
}]